import { createApp } from './main'
const { app, router } = createApp()

function setRem() {
  const designWidth = 750;
  const clientWidth =
    document.documentElement.clientWidth || document.body.clientWidth;
  document.documentElement.style.fontSize =
    (clientWidth / designWidth) * 100 + "px";
}
setRem();
window.onresize = setRem;


router.isReady().then(async () => {
  app.mount('#app')
})
